<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>声明变量和方法</title>
</head>
<%!
    public int count;
    public String info() {
        return "hello";
    }
%>
<body>
<%
    out.println(count++);
%>
<br/>
<%
    out.println(info());
%>
</body>
</html>
